home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / LIBRARY / PBLIB1 / PROGS / DUMP.DOC < prev    next >
Text File  |  1994-01-16  |  2KB  |  41 lines

  1.  
  2. DUMP - a simple HEX/ASCII file dumper - HNR Public Domain 2/91
  3.  
  4.   syntax:
  5.            DUMP <filename> <options>');
  6.  
  7.   options:
  8.            RECSIZE=m   - group data in chunks of m bytes  (def. 16)
  9.            HDRSIZE=m   - define the first m bytes as a file header (def. 0)
  10.            COUNT=n     - number of records to print         (def. 32700)
  11.            FIRST=n     - first record to print              (def. 1)
  12.            LAST=n      - last record to print               (def. 32700)
  13.            HEADER=YES/NO - print the header                 (def. YES)
  14.            HEX=YES/NO  - print address field in HEX/DECIMAL (def. YES)
  15.            DBF=YES/NO  - tries to interpret file as an xBase DBF file -
  16.                              DUMP figures out header & record sizes
  17.  
  18.   This is the first part of DUMP.doc, Print it for more notes.
  19.  
  20. ?SECTION more
  21.  
  22. Additional documentation/notes
  23.  
  24. 1. These options can be set in an optional DUMP.CFG file
  25.      placed next to DUMP.EXE and/or in the current directory.
  26.  
  27.    The local CFG file overrides the one next to the EXE file.
  28.  
  29.    If the name DUMP is already used, it will work just the same if
  30.      it is renamed xxxx.exe with xxxx.cfg and xxxx.doc
  31.  
  32. Misc:
  33.  
  34. Trying to dump a data file while it was open by another program
  35.      got me a 162 error, with or without share.
  36.  
  37. Of course, using some of the options together makes no sense, like:
  38.      first=2 last=4 count=10.  I try to make sense out of it, but
  39.      nothing guarenteed.
  40.  
  41.